Skip to content

Instantly share code, notes, and snippets.

@oliverlabs
oliverlabs / gh-repo-rbac.sh
Created August 9, 2023 11:42
Check user permissions for a GitHub repository using GitHub CLI
# This command requires gh cli to be installed
OWNERORG="test"
REPOSITORY="test"
GHUSERNAME="test"
gh api repos/$OWNERORG/$REPOSITORY/collaborators/$USERNAME/permission | jq '.permission' -r

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@maxwellmlin
maxwellmlin / LPX-Trial-Reset.sh
Created April 14, 2021 03:46
Logic Pro X Trial Reset
mv -v ~/Library/Application\ Support/.lpxuserdata ~/.Trash
@dkun7944
dkun7944 / CDView.swift
Last active May 15, 2026 10:45
SwiftUI + Swift.Shader CD
//
// CDView.swift
// CD
//
// Created by Daniel Kuntz on 7/3/23.
//
import SwiftUI
struct ShapeWithHole: Shape {
@qwertyuiop8899
qwertyuiop8899 / Addons.md
Last active May 15, 2026 10:42
Migliori addon Stremio ITA

━━━━━━━━━━━━━━━━━━━━━ 🔥 CONFIGURAZIONE BASE CONSIGLIATA 🔥 ━━━━━━━━━━━━━━━━━━━━━

🧲 Torrentio

🔍 Cerca torrent da fonti selezionate. 🔗 CLICCA QUI PER CONFIGURARE 🔗 FILE GIÀ CONFIGURATO (il link nella pagina addons del tuo stremio)

🧲 Torrentio ITA

@alexishida
alexishida / rtsp-intelbras-outros.txt
Last active May 15, 2026 10:40
RTSP dvr intelbras e outros para acesso direto home assistant
-------- DVR e Mibo Smart Intelbras -------------------------------------------------------
rtsp://usuário:senha@ip:porta/cam/realmonitor?channel=1&subtype=0
Ps minha mibo smart im4c só funcionou com esse link:
rtsp://admin:chave de acesso@ip:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
-------- Luxvision -------------------------------------------------------
rtsp://ip:porta/user=[usuário]&password=[senha]&channel=1&stream=0.sdp
@jankammerath
jankammerath / CHScanner.swift
Last active May 15, 2026 10:37
Carrera Hybrid: macOS App implementation to control Carrera Hybrid BLE vehicles with gamepads
//
// CHScanner.swift
// CHybridMulti
//
// Created by Jan Kammerath on 28.12.24.
//
import Foundation
import CoreBluetooth
@jaymody
jaymody / docker_save_progress_bar.sh
Created June 2, 2020 23:43
docker save with a progress bar
# If you're impatient like me, a progress bar can be a comforting way to impulsively check the progress
# of your docker save command
#
# You'll need tqdm installed (https://github.com/tqdm/tqdm) for this to work.
docker save IMAGE_NAME | tqdm --bytes --total $(docker image inspect IMAGE_NAME --format='{{.Size}}') > OUTPUT_TAR_NAME